#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QIcon>
#include <QBrush>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QMessageBox>
#include"playgame.h"

class Widget : public QWidget//继承QWidget，所有类公用
{
    Q_OBJECT
public:
    Widget(QWidget *parent = 0);
    ~Widget();

    //kk
private:
    QLabel *label;
    QPushButton *firstbutton;
    QPushButton *secondbutton;
    QPushButton *thirdbutton;
    QVBoxLayout *buju;
     playgame *w;
public slots:
    void firstbuttonclick();//槽函数
    void thirdbuttonclick();




};

#endif // WIDGET_H
